<!DOCTYPE html>
<html class="loginHtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8">
    <title>ERP管理系统 登录页面</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="icon" th:href="@{/favicon.ico}">
    <link rel="stylesheet" th:href="@{/resources/layui/css/layui.css}" media="all"/>
    <link rel="stylesheet" th:href="@{/resources/css/public.css}" media="all"/>

</head>
<body class="loginBody">
<form class="layui-form">
    <div class="login_face"><img th:src="@{/resources/images/face.jpg}" class="userAvatar"></div>
    <div class="layui-form-item input-item">
        <label for="userName">用户名</label>
        <input type="text" placeholder="请输入用户名" autocomplete="off" name="loginName" class="layui-input"
               lay-verify="required">
    </div>
    <div class="layui-form-item input-item">
        <label for="password">密码</label>
        <input type="password" placeholder="请输入密码" autocomplete="off" name="password" class="layui-input"
               lay-verify="required">
    </div>
    
    <div id="flushimg">
		 <img alt="验证码" onclick="this.src='/defaultKaptcha?d=' + new Date()*1" th:src="@{/defaultKaptcha}" />
		 <a>看不清？点击图片刷新一下</a>
	</div> 
		 <input type="text" name="code" class="form-control" required placeholder="-----请输入验证码-----" />
		 <br> </br>

    <div class="layui-form-item">
        <button type="button" class="layui-btn layui-block" lay-submit="" lay-filter="login" >登录</button>
<!--        <button type="button" class="layui-btn layui-btn-sm layui-btn-radius" lay-submit="" lay-filter="doLogin"><i-->
<!--                class="layui-icon layui-icon-search layui-icon-normal"></i>登录-->
<!--        </button>-->
    </div>
</form>
<script th:src="@{/resources/js/jquery-3.3.1.min.js}"></script>
<script type="text/javascript" th:src="@{/resources/layui/layui.js}"></script>
<script type="text/javascript" th:src="@{/resources/page/login/login.js}"></script>
<script type="text/javascript" th:src="@{/resources/js/cache.js}"></script>
<script th:src="@{/resources/js/jsencrypt.min.js}"></script>
<script>
</script>
</body>
</html>